﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ConsoleApplication
{
    class Program
    {
        static void Main(string[] args)
        {
            //Product p = new Product { Name = "test0", Price = 12.3M };
            //p.Save();
            //p = new Product { Name = "aaaaa", Price = 32.3M };
            //p.Save();
            //return;

            List<Product> list = Product.Load<Product>();
            list.ForEach(x =>
            {
                System.Console.WriteLine(x.ToString());
            });
            Console.ReadLine();
        }
    }
}
